home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / pixmod.z / pixmod
Encoding:
Text File  |  2002-10-03  |  26.0 KB  |  529 lines

  1.  
  2.  
  3.  
  4. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppiiiixxxxmmmmoooodddd - specify pixel transfer mode parameters
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppiiiixxxxmmmmoooodddd((((mmmmooooddddeeee,,,, vvvvaaaalllluuuueeee))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 mmmmooooddddeeee,,,, vvvvaaaalllluuuueeee
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _m_o_d_e    One of the symbolic constants:
  17.  
  18.  
  19.           (parameters that affect read, write, and copy transfers)
  20.  
  21.              PPPPMMMMSSSSHHHHIIIIFFFF, default value: 0.  Number of bit positions that pixel
  22.              data are to be shifted.  Positive shifts are left for write and
  23.              copy, right for read.  Valid values: 0, +-1, +-4, +-8, +-12, +-
  24.              16, +-24
  25.  
  26.              PPPPMMMMEEEEXXXXPPPPAAAA, default value: 0.  Enable (1) or disable (0) expansion of
  27.              single-bit pixel data to one of two 32-bit pixel values.  Valid
  28.              values: 0, 1
  29.  
  30.              PPPPMMMMCCCC0000, default value: 0.  Expansion value (32-bit packed color)
  31.              chosen when the single-bit pixel being expanded is zero.  Valid
  32.              values: any 32-bit value
  33.  
  34.              PPPPMMMMCCCC1111, default value: 0.  Expansion value (32-bit packed color)
  35.              chosen when the single-bit pixel being expanded is one.  Valid
  36.              values: any 32-bit value
  37.  
  38.              PPPPMMMMAAAADDDDDDDD2222, default value: 0.  Amount to be added to the least-
  39.              significant 24 bits of the pixel (signed value).  Valid values: a
  40.              32-bit signed value in the range -0x800000 through 0x7fffff
  41.  
  42.              Although this value is specified as a 32-bit integer, the sign
  43.              bit MUST be smeared across all 32 bits.  Thus -0x800000 specifies
  44.              the minimum value; and 0x800000 is out of range at the positive
  45.              end.
  46.  
  47.              PPPPMMMMTTTTTTTTOOOOBBBB, default value: 0.  Specifies that fill (for write and
  48.              copy transfers) and read (for read transfers) must be top-to-
  49.              bottom (1) or bottom-to-top (0).  Valid values: 0, 1 (see NOTES
  50.              below)
  51.  
  52.              PPPPMMMMRRRRTTTTOOOOLLLL, default value: 0.  Specifies that fill (for write and
  53.              copy transfers) and read (for read transfers) is to be right-to-
  54.              left (1) or left-to-right (0).  Valid values: 0, 1
  55.  
  56.              PPPPMMMM____IIIINNNNPPPPUUUUTTTT____FFFFOOOORRRRMMMMAAAATTTT,,,, PPPPMMMM____OOOOUUUUTTTTPPPPUUUUTTTT____FFFFOOOORRRRMMMMAAAATTTT, default values: PM_ABGR. If in
  57.              RGBmode, specifies the pixel color component format; if in cmode,
  58.              has no effect. The format specifies the number and order of color
  59.              components. May be one of: PMABGR, PMBGR, PMRGBA, PMRGB, PMLUMI,
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  71.  
  72.  
  73.  
  74.              PMLUMA, PMALPH. If PMLUMI or PMLUMA is selected as the PMOFMT,
  75.              all of the other features of ppppiiiixxxxmmmmoooodddd will be ignored except for
  76.              PMITYP, PMOTYP, PMOFFS, and PMSTRI.
  77.  
  78.              PPPPMMMMIIIITTTTPPPP, default values: PMUNSI. Specifies the type of pixel color
  79.              components.  May be one of: PMBITM, PMBYTE, PMUNSI, PMSH12,
  80.              PMUS12, PMSHOR, PMUSHT, PMINT, PMUINT, PMFLOA.
  81.  
  82.              PPPPMMMMOOOOTTTTPPPP, default values: PMUNSI. Specifies the type of pixel color
  83.              components.  May be one of: PMBITM, PMUNSI, PMSH12, PMUSSHT,
  84.              PMUINT, PMFLOA.
  85.  
  86.  
  87.           (parameters that affect read and write transfers only)
  88.  
  89.              PPPPMMMMSSSSIIIIZZZZEEEE, default value: 32.  Number of bits per pixel.  Used for
  90.              packing during reads and writes.  Valid values: 1, 4, 8, 12, 16,
  91.              24, 32, 64 (see NOTES below)
  92.  
  93.              Although size specification is for the entire pixel, there is no
  94.              mechanism for specifying reduced RGBA component sizes (such as
  95.              12-bit RGB with 4 bits per component) except as in NOTES below.
  96.  
  97.              PPPPMMMMOOOOFFFFFFFFSSSS, default value: 0.  Number of bits of the first CPU word
  98.              of each scanline that are to be ignored.  Valid values: 0 through
  99.              31
  100.  
  101.              PPPPMMMMSSSSTTTTRRRRIIII, default value: 0.  Number of 32-bit CPU words per
  102.              scanline in the original image (not just the portion that is
  103.              being transferred by this command).  Valid values: any non-
  104.              negative integer
  105.  
  106.  
  107.           (parameters that affect write and copy transfers only)
  108.  
  109.              PPPPMMMMZZZZDDDDAAAATTTT, default value: 0.  Indicates (1) that pixel data are to
  110.              be treated as Z data rather than color data (0).  Destination is
  111.              the Z-buffer.  Writes are conditional if zbuffering is on.  Valid
  112.              values: 0, 1
  113.  
  114.      _v_a_l_u_e   Integer value assigned to mode.
  115.  
  116. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  117.      ppppiiiixxxxmmmmoooodddd allows a variety of pixel transfer options to be selected.  These
  118.      options are available only for pixel transfer commands that operate on
  119.      32-bit data: llllrrrreeeeccccttttrrrr, llllrrrreeeeccccttttwwww, and rrrreeeeccccttttccccoooo. Pixel transfer commands that
  120.      operate on 8-bit data (rrrreeeeaaaaddddRRRRGGGG, wwwwrrrriiiitttteeeeRRRR) and on 16-bit data (rrrreeeeaaaaddddppppiiii,
  121.      wwwwrrrriiiitttteeeepppp, rrrreeeeccccttttrrrreeee, rrrreeeeccccttttwwwwrrrr) do not support ppppiiiixxxxmmmmoooodddd capabilities.  Note that
  122.      llllrrrreeeeccccttttrrrr, llllrrrreeeeccccttttwwww, and rrrreeeeccccttttccccoooo are valid in both color map and RGB modes.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  137.  
  138.  
  139.  
  140.      PPPPaaaaddddddddiiiinnnngggg iiiinnnn CCCCPPPPUUUU MMMMeeeemmmmoooorrrryyyy
  141.  
  142.      Transfer commands llllrrrreeeeccccttttrrrr and llllrrrreeeeccccttttwwww operate on pixel data structures in
  143.      CPU memory.  These data structures contain data organized in row-major
  144.      format, each row corresponding to one scanline of pixel data.  Adjacent
  145.      pixels are packed next to each other with no padding, regardless of the
  146.      pixel size.  Thus in many cases pixels straddle the 32-bit word
  147.      boundaries.  It is always the case, however, that each scan line
  148.      comprises an integer number of whole 32-bit words.  If the pixel data do
  149.      not exactly fill these words, the last word is padded with (undefined)
  150.      data.
  151.  
  152.      Addresses passed to llllrrrreeeeccccttttrrrr and llllrrrreeeeccccttttwwww must be long word aligned.  If not,
  153.      an error message is generated and no action is taken.
  154.  
  155.      PPPPaaaacccckkkkiiiinnnngggg iiiinnnn CCCCPPPPUUUU MMMMeeeemmmmoooorrrryyyy
  156.  
  157.      Transfer commands llllrrrreeeeccccttttrrrr and llllrrrreeeeccccttttwwww operate on pixel data that are packed
  158.      tightly into CPU memory.  Adjacent pixels, regardless of their size, are
  159.      stored with no bit padding between them.  Pixel size, and thus packing,
  160.      is specified by PPPPMMMMSSSSIIIIZZZZEEEE.  The default value of this parameter is 32,
  161.      meaning that 32-bit pixels are packed into 32-bit CPU memory words.
  162.  
  163.      Although the MIPS processor is a big-endian machine, its bit numbering is
  164.      little-endian.  Pixel data are packed consistent with the byte numbering
  165.      scheme (big-endian), ignoring the bit numbering.  Thus, 12-bit packed
  166.      pixels are taken as follows (by llllrrrreeeeccccttttwwww) from the first 32-bit word of a
  167.      CPU data structure:
  168.  
  169.   first CPU word
  170.  
  171.           byte number  0        1        2        3
  172.  
  173.           bit number   33222222 22221111 111111
  174.                        10987654 32109876 54321098 76543210
  175.  
  176.   first unpacked pixel 11
  177.                        10987654 3210
  178.   second unpacked pixel             11
  179.                                     1098 76543210
  180.   third unpacked pixel                           11
  181.                                                  10987654 ...
  182.  
  183.  
  184.      When being written, unpacked pixels are padded to the left with zeros to
  185.      make their size equal to the size of the framebuffer target region (12
  186.      bits total in color map mode, 24 bits total when writing Z values, 32
  187.      bits total in RGB mode).  The least significant bit of the unpacked pixel
  188.      becomes the least significant bit of the framebuffer pixel it replaces.
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  203.  
  204.  
  205.  
  206.      Note that big-endian packing makes 8 and 16 bit packing equivalent to
  207.      integer*1 and integer*2 arrays.  Remember, however, that the address
  208.      passed to llllrrrreeeeccccttttwwww or llllrrrreeeeccccttttrrrr must be long-word aligned.
  209.  
  210.      Packings of 1, 4, 8, 12, 16, 24, and 32 bits per pixel are supported.
  211.      Setting PPPPMMMMSSSSIIIIZZZZEEEE to a value other than one of these results in an error
  212.      message, and leaves the current size unchanged.
  213.  
  214.      OOOOrrrrddddeeeerrrr ooooffff PPPPiiiixxxxeeeellll OOOOppppeeeerrrraaaattttiiiioooonnnnssss
  215.  
  216.      In addition to packing and unpacking, pixel streams are operated on in a
  217.      variety of other ways.  These operations occur in a consistent order,
  218.      regardless of whether the stream is being written, read, or copied.
  219.  
  220.           write unpack->shift->expand->add24->zoom->fbpack
  221.           copy  format->shift->expand->add24->zoom->fbpack
  222.           read  format->shift->expand->add24      ->pack
  223.  
  224.  
  225.      Note that pixel data are unpacked only when being transferred from CPU
  226.      memory to the framebuffer.  Unpacking occurs prior to any other
  227.      operation.  Likewise, pixel data are packed only when being transferred
  228.      to CPU memory.  Packing occurs after all other operations have been
  229.      completed.  Because copy operations neither pack nor unpack pixel data,
  230.      the rectcopy command ignores the value of PPPPMMMMSSSSIIIIZZZZEEEE....
  231.  
  232.      FFFFrrrraaaammmmeeeebbbbuuuuffffffffeeeerrrr FFFFoooorrrrmmmmaaaatttt
  233.  
  234.      Each IRIS framebuffer is always configured in one of two fundamental
  235.      ways: color map or RGB.  In the RGB configuration 3 or 4 color components
  236.      (red, green, blue, and optionally alpha) are stored at each pixel
  237.      location.  Each component is stored with a maximum of 8 bits of
  238.      precision, resulting in a packed 32-bit pixel with the following format:
  239.  
  240.               33222222 22221111 111111
  241.               10987654 32109876 54321098 76543210
  242.  
  243.               aaaaaaaa bbbbbbbb gggggggg rrrrrrrr
  244.               76543210 76543210 76543210 76543210
  245.  
  246.  
  247.  
  248.      Some IRIS framebuffers store fewer than 8 bits per color component while
  249.      in RGB mode.  These framebuffers, however, emulate all the behavior of
  250.      full 32-bit framebuffers.  Thus the first operation in both the copy and
  251.      read streams (above) is format: converting the framebuffer-format data to
  252.      the 8-bit per component RGBA format that all subsequent operations
  253.      execute with.  Likewise, the final operation in both the write and copy
  254.      streams (above) is fbpack: converting the 8-bit per component RGBA data
  255.      back to the hardware-specific storage format.  Both the format and the
  256.      fbpack operation are null operations if the hardware supports full 32-bit
  257.      RGBA data.
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  269.  
  270.  
  271.  
  272.      In its color map configuration a single color index, from 1 to 12 bits,
  273.      is stored at each pixel location:
  274.  
  275.           33222222 22221111 111111
  276.           10987654 32109876 54321098 76543210
  277.  
  278.                                 iiii iiiiiiii
  279.                                 11
  280.                                 1098 76543210
  281.  
  282.  
  283.  
  284.      PPPPiiiixxxxeeeellll SSSShhhhiiiiffffttttiiiinnnngggg
  285.  
  286.      Pixels taken from the framebuffer (llllrrrreeeeccccttttrrrr, rrrreeeeccccttttccccoooo) or unpacked from CPU
  287.      memory (llllrrrreeeeccccttttwwww) are first rotated either left or right by an amount up to
  288.      24 bit positions.  Unpacked pixels and pixel values to be packed are
  289.      padded left and right by zeros during the shift operation.  The resulting
  290.      32-bit pixel values therefore include ones only in the region that was
  291.      filled with legitimate pre-shifted data.  Copied pixels may not be padded
  292.      with zeros; thus a writemask may be required to eliminate unwanted bits.
  293.  
  294.      Pixel shifting is enabled by setting PPPPMMMMSSSSHHHHIIIIFFFF to a non-zero value.
  295.      Positive values in the range 1-24 specify left shifts while writing or
  296.      copying, right shifts while reading.  Negative values in the range -1
  297.      through -24 specify right shifts while writing or copying, left shifts
  298.      while reading.
  299.  
  300.      The default shift value is zero (i.e. shifting disabled).  Other accepted
  301.      values are plus and minus 1, 4, 8, 12, 16, and 24.
  302.  
  303.      Because pixels are always converted to the formats described above before
  304.      they are shifted, shift operations are largely independent of the
  305.      hardware framebuffer storage format.
  306.  
  307.      PPPPiiiixxxxeeeellll EEEExxxxppppaaaannnnssssiiiioooonnnn
  308.  
  309.      Single bit pixels can be expanded to one of two full 32-bit color values,
  310.      based on their binary value.  This expansion is enabled by setting PPPPMMMMEEEEXXXXPPPPAAAA
  311.      to 1 (the default disabled value is 0).  When expansion is enabled, zero
  312.      value pixels are replaced by the packed color PPPPMMMMCCCC0000, and one value pixels
  313.      are replaced by PPPPMMMMCCCC1111.  Bits 11-0 of PPPPMMMMCCCC0000 and PPPPMMMMCCCC1111 specify color index
  314.      values when in color map mode.
  315.  
  316.      Pixel expansion is actually controlled by bit zero of the incoming pixel
  317.      (regardless of the size of the incoming pixel).  Because pixel shifting
  318.      precedes pixel expansion, any bit of the incoming pixel can be selected
  319.      to control pixel expansion.
  320.  
  321.      There are no constraints on the values of PPPPMMMMCCCC0000 or PPPPMMMMCCCC1111.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  335.  
  336.  
  337.  
  338.      PPPPiiiixxxxeeeellll AAAAddddddddiiiittttiiiioooonnnn
  339.  
  340.      The pixel addition stage treats the lower 24 bits of each incoming pixel
  341.      as  a signed integer value.  It adds a signed 24-bit constant to this
  342.      field of the pixel, leaving the upper 8 bits unchanged.  The result of
  343.      the addition is clamped to the range -2 through 2 - 1.  While this
  344.      addition is most useful when writing or copying depth data, it is enabled
  345.      during all transfers.  Thus PPPPMMMMAAAADDDDDDDD2222 is typically changed from its default
  346.      zero value only while depth transfers are being done (See "Drawing Z
  347.      Data" below).  Pixel addition can also be used to offset the range of a
  348.      color map image.
  349.  
  350.      RRRReeeeccccttttaaaannnngggglllleeee wwwwiiiitttthhhhiiiinnnn RRRReeeeccccttttaaaannnngggglllleeee iiiinnnn CCCCPPPPUUUU MMMMeeeemmmmoooorrrryyyy
  351.  
  352.      Variables PPPPMMMMOOOOFFFFFFFFSSSS and PPPPMMMMSSSSTTTTRRRRIIII support transfer operation on rectangular
  353.      pixels regions that reside within larger regions in CPU memory.  PPPPMMMMOOOOFFFFFFFFSSSS,
  354.      set to a value in the range 0-31, specifies the number of significant
  355.      bits of the first CPU word that are ignored at the start of each scanline
  356.      transfer.  For example, an llllrrrreeeeccccttttwwww transfer of 12-bit packed pixel data
  357.      with PPPPMMMMOOOOFFFFFFFFSSSS set to 12 results in the following pixel extraction:
  358.  
  359.   first CPU word of each scanline
  360.  
  361.        byte number         0        1        2        3
  362.  
  363.        bit number      33222222 22221111 111111
  364.                        10987654 32109876 54321098 76543210
  365.  
  366.   first unpacked pixel              11
  367.                                     1098 76543210
  368.   second unpacked pixel                           11
  369.                                                   10987654 ...
  370.  
  371.  
  372.      Pixel unpacking continues tightly throughout all the CPU words that
  373.      define a single scanline.  After the last CPU word that defines a
  374.      scanline has been transferred, the CPU read pointer is advanced to the
  375.      32-bit word at location (_f_i_r_s_t + PPPPMMMMSSSSTTTTRRRRIIII).  PPPPMMMMOOOOFFFFFFFFSSSS pixels of this word are
  376.      skipped, then this scanline is transferred to the graphics engine.  The
  377.      PPPPMMMMSSSSTTTTRRRRIIII value of zero is exceptional, causing the CPU read pointer to be
  378.      advanced to the 32-bit word that immediately follows the last word of
  379.      each scanline.
  380.  
  381.      PPPPMMMMOOOOFFFFFFFFSSSS and PPPPMMMMSSSSTTTTRRRRIIII, like PPPPMMMMSSSSIIIIZZZZEEEE, are ignored by framebuffer-to-framebuffer
  382.      transfers (rrrreeeeccccttttccccoooo). They both default to a value of zero.
  383.  
  384.      AAAAlllltttteeeerrrrnnnnaaaatttteeee FFFFiiiillllllll DDDDiiiirrrreeeeccccttttiiiioooonnnnssss
  385.  
  386.      During read, copy, and write pixel operations pixels are always
  387.      transferred in row-major order.  By default scanlines are read or written
  388.      left-to-right, starting with the bottom scanline and working up.
  389.      Parameters PPPPMMMMRRRRTTTTOOOOLLLL and PPPPMMMMTTTTTTTTOOOOBBBB allow the horizontal and vertical read/fill
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  401.  
  402.  
  403.  
  404.      directions to be reversed, but do not change the fundamental row-major
  405.      scan order.  PPPPMMMMRRRRTTTTOOOOLLLL specifies right-to-left traversal/fill when set to
  406.      one, left-to-right when set to its default value of zero.  PPPPMMMMTTTTTTTTOOOOBBBB
  407.      specifies top-to-bottom traversal/fill when set to one, bottom-to-top
  408.      when set to its default value of zero.
  409.  
  410.      These parameters can be used to properly deal with CPU data formats that
  411.      differ from the default IRIS pixel order.  They also can be used to
  412.      generate image reflections about either the X or Y screen axes. (see
  413.      notes.)
  414.  
  415.      Fill direction does not affect the location of the destination rectangle
  416.      (i.e. the destination rectangle is always specified by its lower-left
  417.      pixel, regardless of its traversal/fill direction).
  418.  
  419.      DDDDrrrraaaawwwwiiiinnnngggg ZZZZ DDDDaaaattttaaaa
  420.  
  421.      Normally pixel data are treated as colors.  Zbuffer mode must be false
  422.      during llllrrrreeeeccccttttwwww and rrrreeeeccccttttccccoooo of color values, because there are no source Z
  423.      values to do the buffer compares with.  Setting PPPPMMMMZZZZDDDDAAAATTTT to 1.0, however,
  424.      instructs the GL to treat incoming pixel values as Z values, and to treat
  425.      source color as undefined.  When drawing pixels with PPPPMMMMZZZZDDDDAAAATTTT enabled, the
  426.      system automatically insures that no changes are made to color bitplanes,
  427.      regardless of the current color write mask.  When PPPPMMMMZZZZDDDDAAAATTTT and zzzzbbbbuuuuffffffffeeee are
  428.      both enabled, pixel values will be conditionally written into the z-
  429.      buffer in the usual manner, and the color buffer will be unaffected.
  430.  
  431.      Z-buffered images are drawn by doing two transfers, first of the Z values
  432.      (with PPPPMMMMZZZZDDDDAAAATTTT enabled and stencil set based on the outcome of the Z
  433.      comparison) and then of the color values (with PPPPMMMMZZZZDDDDAAAATTTT disabled, drawn
  434.      conditionally based on the stencil value).
  435.  
  436.      It is not necessary (or correct) to enable zzzzddddrrrraaaawwww mode while doing pixel
  437.      transfers with PPPPMMMMZZZZDDDDAAAATTTT enabled.
  438.  
  439. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  440.      lrectr, lrectw, rectco, rectzo, stenci
  441.  
  442. NNNNOOOOTTTTEEEESSSS
  443.      The Personal Iris, XS, XS24, Elan, XZ and Extreme systems do not support
  444.      ppppiiiixxxxmmmmoooodddd during rrrreeeeccccttttccccoooo....  IRIS-4D G, GT, GTX, Personal Iris, Indigo Entry,
  445.      Indy, and XL models do not support PM_ZDATA mode.  The Personal Iris does
  446.      not support ppppiiiixxxxmmmmoooodddd when reading pixels and supports PPPPMMMMSSSSIIIIZZZZEEEE for values 8,
  447.      16, and 32 only.  The Personal Iris, Indigo Entry, Indy, and XL support
  448.      PPPPMMMMOOOOFFFFFFFFSSSS for values that are multiples of PPPPMMMMSSSSIIIIZZZZEEEE only.  When reading
  449.      pixels, XS, XS24, Elan, XZ and Extreme systems do not support PPPPMMMMOOOOFFFFFFFFSSSS not
  450.      equal to 0.  On XS, XS24, Elan, XZ and Extreme systems, you get better
  451.      pixel fill rate (both write and read) if you specify PPPPMMMMTTTTTTTTOOOOBBBB (top-to-
  452.      bottom) as the direction of fill.
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. ppppiiiixxxxmmmmoooodddd((((3333GGGG))))                                                          ppppiiiixxxxmmmmoooodddd((((3333GGGG))))
  467.  
  468.  
  469.  
  470.      For writing interlaced fields of video data to the frame buffer, Indy and
  471.      XL systems write every other scan line, bottom-to-top, when PPPPMMMMTTTTTTTTOOOOBBBB is 2,
  472.      and every other scan line, top-to-bottom, when PPPPMMMMTTTTTTTTOOOOBBBB is 3.
  473.  
  474.      Indy and XL systems support a 3-3-2 pixel format in a byte (rightmost
  475.      three bits red, next three bits green, and next two bits blue) for PPPPMMMMSSSSIIIIZZZZEEEE
  476.      of 9.  Indigo Entry systems support a 3-3-2 pixel format in a byte
  477.      (rightmost three bits red, next two bits blue, and next three bits green)
  478.      for PPPPMMMMSSSSIIIIZZZZEEEE of 8.
  479.  
  480.      PPPPMMMMSSSSIIIIZZZZEEEE,,,,66664444 is implemented on RealityEngine models only.  Each 64-bit pixel
  481.      contains four 16-bit color components for red (rightmost), green, blue,
  482.      and alpha (leftmost).  Only the upper 12 bits of each component are
  483.      significant.  The lower 4 bits are returned as zero.
  484.  
  485.      PPPPMMMMOOOOFFFFTTTT,,,, PPPPMMMMOOOOTTTTPPPP,,,, PPPPMMMMIIIIFFFFTTTT,,,, PPPPMMMMIIIITTTTPPPP are implemented on RealityEngine models only.
  486.  
  487. BBBBUUUUGGGGSSSS
  488.      On the Personal Iris, when using PPPPMMMMSSSSIIIIZZZZEEEE with values 8 or 16, the width of
  489.      the rectangle drawn must be a multiple of 4 for 8-bit packed writes, and
  490.      a multiple of 2 for 16-bit packed writes.
  491.  
  492.      On the IRIS-4D RealityEngine model PPPPMMMMSSSSIIIIZZZZEEEE of 24 is not supported in color
  493.      map mode. PPPPMMMMSSSSIIIIZZZZEEEE of 32 in conjunction with a non zero PPPPMMMMOOOOFFFFFFFFSSSS is not
  494.      supported as well in color map mode.
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                                                                         PPPPaaaaggggeeee 8888
  526.  
  527.  
  528.  
  529.